package com.idp.system.dto;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 角色DTO类
 * @author king
 */
@Data
@ApiModel(description = "角色DTO类")
@JsonIgnoreProperties({"handler","hibernateLazyInitializer"})
public class SysRoleDto implements Serializable {

	private static final long serialVersionUID = 1L;

	@ApiModelProperty("主键ID")
	private String id;
	@ApiModelProperty("角色编码")
	private String roleCode;
	@ApiModelProperty("角色名称")
	private String roleName;
	@ApiModelProperty("备注")
	private String description;
	@ApiModelProperty("菜单id")
	private List<String> menuIds;
	@ApiModelProperty("菜单按钮")
	private List<SysMenuDto> menus;

}
